package day13.homework;

import java.io.Serializable;
public class TalkUser extends AbstractMessage implements Communicate,Note, Serializable {
    public TalkUser(){
        super(50);
    }
    public void print(){
        System.out.println("话痨套餐：每月通话时长1000分钟,短信1000条,月租"+super.getPrice()+"元");
    }
    @Override
    public void telephone() {
        System.out.println("通话方法");
    }
    @Override
    public void message() {
        System.out.println("短信方法");
    }
}
